<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.9.4"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>FFmpegKit iOS / macOS / tvOS API: MediaInformationJsonParser Class Reference</title>
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../jquery.js"></script>
<script type="text/javascript" src="../../dynsections.js"></script>
<link href="../../search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../search/searchdata.js"></script>
<script type="text/javascript" src="../../search/search.js"></script>
<link href="../../doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr id="projectrow">
  <td id="projectlogo"><img alt="Logo" src="../../ffmpeg-kit-icon-v9-small.png"/></td>
  <td id="projectalign">
   <div id="projectname">FFmpegKit iOS / macOS / tvOS API<span id="projectnumber">&#160;5.1</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.9.4 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "../../search",'Search','.html');
/* @license-end */
</script>
<script type="text/javascript" src="../../menudata.js"></script>
<script type="text/javascript" src="../../menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() {
  initMenu('../../',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */
</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-static-methods">Class Methods</a>  </div>
  <div class="headertitle"><div class="title">MediaInformationJsonParser Class Reference</div></div>
</div><!--header-->
<div class="contents">

<p><code>#import &lt;<a class="el" href="../../d7/d3a/_media_information_json_parser_8h_source.html">MediaInformationJsonParser.h</a>&gt;</code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-static-methods" name="pub-static-methods"></a>
Class Methods</h2></td></tr>
<tr class="memitem:aec2b3eb6fbab504ab788d4cb37a5b034"><td class="memItemLeft" align="right" valign="top">(<a class="el" href="../../d6/dca/interface_media_information.html">MediaInformation</a> *)&#160;</td><td class="memItemRight" valign="bottom">+ <a class="el" href="../../d4/d5c/interface_media_information_json_parser.html#aec2b3eb6fbab504ab788d4cb37a5b034">from:</a></td></tr>
<tr class="separator:aec2b3eb6fbab504ab788d4cb37a5b034"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a60d0c28ffc14a92880f19ade33c15103"><td class="memItemLeft" align="right" valign="top">(<a class="el" href="../../d6/dca/interface_media_information.html">MediaInformation</a> *)&#160;</td><td class="memItemRight" valign="bottom">+ <a class="el" href="../../d4/d5c/interface_media_information_json_parser.html#a60d0c28ffc14a92880f19ade33c15103">fromWithError:</a></td></tr>
<tr class="separator:a60d0c28ffc14a92880f19ade33c15103"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p >A parser that constructs <a class="el" href="../../d6/dca/interface_media_information.html">MediaInformation</a> from FFprobe's json output. </p>

<p class="definition">Definition at line <a class="el" href="../../d7/d3a/_media_information_json_parser_8h_source.html#l00029">29</a> of file <a class="el" href="../../d7/d3a/_media_information_json_parser_8h_source.html">MediaInformationJsonParser.h</a>.</p>
</div><h2 class="groupheader">Method Documentation</h2>
<a id="aec2b3eb6fbab504ab788d4cb37a5b034" name="aec2b3eb6fbab504ab788d4cb37a5b034"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aec2b3eb6fbab504ab788d4cb37a5b034">&#9670;&nbsp;</a></span>from:</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">+ (<a class="el" href="../../d6/dca/interface_media_information.html">MediaInformation</a> *) from: </td>
          <td></td>
          <td class="paramtype">(NSString*)&#160;</td>
          <td class="paramname"><em>ffprobeJsonOutput</em></td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p >Extracts <code><a class="el" href="../../d6/dca/interface_media_information.html">MediaInformation</a></code> from the given FFprobe json output.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">ffprobeJsonOutput</td><td>FFprobe json output </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>created <a class="el" href="../../d6/dca/interface_media_information.html">MediaInformation</a> instance of nil if a parsing error occurs </dd></dl>

<p class="definition">Definition at line <a class="el" href="../../d3/d35/_media_information_json_parser_8m_source.html#l00023">23</a> of file <a class="el" href="../../d3/d35/_media_information_json_parser_8m_source.html">MediaInformationJsonParser.m</a>.</p>

</div>
</div>
<a id="a60d0c28ffc14a92880f19ade33c15103" name="a60d0c28ffc14a92880f19ade33c15103"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a60d0c28ffc14a92880f19ade33c15103">&#9670;&nbsp;</a></span>fromWithError:</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">+ (<a class="el" href="../../d6/dca/interface_media_information.html">MediaInformation</a> *) fromWithError: </td>
          <td></td>
          <td class="paramtype">(NSString*)&#160;</td>
          <td class="paramname"><em>ffprobeJsonOutput</em></td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p >Extracts <code><a class="el" href="../../d6/dca/interface_media_information.html">MediaInformation</a></code> from the given FFprobe json output. If a parsing error occurs an NSException is thrown.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">ffprobeJsonOutput</td><td>FFprobe json output </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>created <a class="el" href="../../d6/dca/interface_media_information.html">MediaInformation</a> instance </dd></dl>

<p class="definition">Definition at line <a class="el" href="../../d3/d35/_media_information_json_parser_8m_source.html#l00023">23</a> of file <a class="el" href="../../d3/d35/_media_information_json_parser_8m_source.html">MediaInformationJsonParser.m</a>.</p>

</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li><a class="el" href="../../d7/d3a/_media_information_json_parser_8h_source.html">MediaInformationJsonParser.h</a></li>
<li><a class="el" href="../../d3/d35/_media_information_json_parser_8m_source.html">MediaInformationJsonParser.m</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Sat Sep 17 2022 18:38:13 for FFmpegKit iOS / macOS / tvOS API by&#160;<a href="https://www.doxygen.org/index.html"><img class="footer" src="../../doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.4
</small></address>
</body>
</html>
